package com.corpgovernment.organization.vo.budget;

import com.corpgovernment.common.annotation.OperateLogFieldDesc;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;

@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class NotifyScopeVo {

    /**
     * 通知人
     */
    @NotBlank(message = "通知人不能为空")
    @OperateLogFieldDesc(value = "被通知人姓名")
    private String name;

    /**
     * 手机号
     */
    @Email(message = "请输入正确的邮箱")
    @OperateLogFieldDesc(value = "邮箱")
    private String email;
}